-
Notifications
You must be signed in to change notification settings - Fork 765
[UR] Move non-conformance/adapter tests to lit #17580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
b7d3c9d
to
6da2652
Compare
This is a newer version of the PR here. See that for some comments that have hopefully been resolved. |
6da2652
to
695f3ae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes outside unified-runtime
LGTM.
695f3ae
to
341ac9b
Compare
341ac9b
to
8ed0446
Compare
8ed0446
to
81317a3
Compare
81317a3
to
e8ef3a6
Compare
DEPENDS deps_check-unified-runtime | ||
) | ||
else() | ||
add_lit_testsuite(check-unified-runtime "Running Unified Runtime ${suite} tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where does add_lit_testing()
come from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still interested in an answer to this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a function defined in intel/llvm. If a full LLVM build is available, we use the lit test suite managing thingies from there.
78358b8
to
ee08ff3
Compare
ee08ff3
to
d51d060
Compare
d51d060
to
e7bd637
Compare
DEPENDS deps_check-unified-runtime | ||
) | ||
else() | ||
add_lit_testsuite(check-unified-runtime "Running Unified Runtime ${suite} tests" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still interested in an answer to this.
e7bd637
to
08313ae
Compare
This adds support for lit to unified-runtime, in the form of a new target `check-unified-runtime`. This target is available when UR is built standalone and when built as part of dpcpp. In addition, there are targets like `check-unified-runtime-unit` which run a subset of the lit tests. When built standalone, `lit` and `filecheck` must be avilable in the path. A `requirements_testing.txt` file is available to install test dependencies. When built as part of dpcpp, a new cmake variable is available; `SYCL_UR_BUILD_TESTS` which is off by default. When enabled, `check-unified-runtime` will be available as a target and will also run as part of `check-all`. All tests have been ported with the exception of: * Adapter tests * Conformance tests The Python version for macos was also bumped to 3.10 to enable use of a newer filecheck version.
08313ae
to
f7ad045
Compare
@intel/llvm-gatekeepers Please merge (unless there's a conflict due to someone updating tests). |
This adds support for lit to unified-runtime, in the form
of a new target
check-unified-runtime
. This target is availablewhen UR is built standalone and when built as part of dpcpp.
In addition, there are targets like
check-unified-runtime-unit
which run a subset of the lit tests.
When built standalone,
lit
andfilecheck
must be avilable inthe path. A
requirements_testing.txt
file is available toinstall test dependencies.
When built as part of dpcpp, a new cmake variable is available;
SYCL_UR_BUILD_TESTS
which is off by default. When enabled,check-unified-runtime
will be available as a target and willalso run as part of
check-all
.All tests have been ported with the exception of:
The Python version for macos was also bumped to 3.10 to enable
use of a newer filecheck version.